package ro.gillardon.commons.mot.train;

import java.time.LocalDate;

import ro.gillardon.commons.enums.City;
import ro.gillardon.commons.mot.AbstractMotConditions;

/**
 * Wrapper class for the train specific parameters.
 */
public class TrainConditions extends AbstractMotConditions {

  /**
   * Instantiates a new train conditions.
   *
   * @param from the starting point
   * @param to the destination
   * @param departureDate the departure date
   * @param trainClass the train class
   */
  public TrainConditions(final City from, final City to, final LocalDate departureDate, final TrainClass trainClass) {
    super(from, to, departureDate, null, trainClass);
  }

}
